<?php

/**
 * IndexController class.
 *
 *
 * @package    app
 * @subpackage app_controllers
 * @author     Juan Carlos Jarquin (zetta)
 * @author     $LastChangedBy$
 * @version    1.1, SVN: $Id$
 */

class CodeController extends BaseController
{
  
  /**
   * Default action
   */
  public function defaultAction()
  {
    $svn = new Svn();
    
    $url = $this->getRequest()->getParam('url');
    $this->view->setFileName('Code.html');
    $this->view->code = $svn->getCode($url); 
  }

}

